package com.zrrd.jt_admin.common.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhangYK
 * @since 2024-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Order对象", description="")
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    protected Integer id;

    @ApiModelProperty(value = "订单唯一流水号")
    protected String no;

    protected Integer userId;

    @ApiModelProperty(value = "收货地址")
    protected String address;

    @ApiModelProperty(value = "订单总价格")
    protected BigDecimal totalPrice;

    @ApiModelProperty(value = "备注")
    protected String remark;

    @ApiModelProperty(value = "支付时间")
    protected Integer paidTime;

    @ApiModelProperty(value = "支付方式")
    protected String paymentMethod;

    @ApiModelProperty(value = "支付平台订单号")
    protected String paymentNo;

    @ApiModelProperty(value = "退款状态")
    protected String refundStatus;

    @ApiModelProperty(value = "退款单号")
    protected String refundNo;

    @ApiModelProperty(value = "是否关闭")
    protected Boolean closed;

    @ApiModelProperty(value = "物流状态")
    protected String shipStatus;

    @ApiModelProperty(value = "物流数据")
    protected String shipData;

    @ApiModelProperty(value = "额外数据")
    protected String extra;

    protected Integer createTime;

    protected Integer updateTime;

    @ApiModelProperty(value = "是否已评价")
    protected Boolean reviewed;

    @ApiModelProperty(value = "使用优惠券id")
    protected Integer couponUserId;


}
